
package com.compuvest.mongo

import com.gmongo.GMongo
import com.mongodb.ServerAddress;

class DatabaseService {

    static transactional = false

    //static addrs = [new ServerAddress("node01", 27017), new ServerAddress("node04", 27017)]

    private def _db = new GMongo("node01", 10001).getDB("testdb")

    def db() {
        _db
    }
}
